package top.igotcha.user.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.igotcha.user.dao.UserDao;
import top.igotcha.user.pojo.User;

/**
 * @author Gotcha
 * @date 2021/1/29
 * @describe
 */
@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public User login(User user) {
        return userDao.selectOne(user);
    }
}
